<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ToolsFavorites: GdaBrowser hacking manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GdaBrowser hacking manual">
<link rel="up" href="core.html" title="Core objects">
<link rel="prev" href="BrowserConnection.html" title="BrowserConnection">
<link rel="next" href="gda-browser-Support-functions.html" title="Support functions">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gda-browser-browser-favorites.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="BrowserConnection.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gda-browser-Support-functions.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gda-browser-browser-favorites"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gda-browser-browser-favorites.top_of_page"></a>ToolsFavorites</span></h2>
<p>ToolsFavorites</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gda-browser-browser-favorites.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
</td>
<td class="function_name">
<a class="link" href="gda-browser-browser-favorites.html#gda-tools-favorites-get-actions" title="gda_tools_favorites_get_actions ()">gda_tools_favorites_get_actions</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gda-browser-browser-favorites.html#gda-tools-favorites-free-action" title="gda_tools_favorites_free_action ()">gda_tools_favorites_free_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gda-browser-browser-favorites.html#gda-tools-favorites-free-actions-list" title="gda_tools_favorites_free_actions_list ()">gda_tools_favorites_free_actions_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gda-browser-browser-favorites.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction">ToolsFavoriteAction</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gda-browser-browser-favorites.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gda-browser-browser-favorites.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-tools-favorites-get-actions"></a><h3>gda_tools_favorites_get_actions ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
gda_tools_favorites_get_actions (<em class="parameter"><code><span class="type">ToolsFavorites</span> *bfav</code></em>,
                                 <em class="parameter"><code><a class="link" href="BrowserConnection.html" title="BrowserConnection"><span class="type">BrowserConnection</span></a> *bcnc</code></em>,
                                 <em class="parameter"><code><span class="type">GdaSet</span> *set</code></em>);</pre>
<p>Get a list of <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a> which can be executed with the data in <em class="parameter"><code>set</code></em>
.</p>
<div class="refsect3">
<a name="gda-tools-favorites-get-actions.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>bfav</p></td>
<td class="parameter_description"><p>a <span class="type">ToolsFavorites</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bcnc</p></td>
<td class="parameter_description"><p>a <a class="link" href="BrowserConnection.html" title="BrowserConnection"><span class="type">BrowserConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set</p></td>
<td class="parameter_description"><p>a <span class="type">GdaSet</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-tools-favorites-get-actions.returns"></a><h4>Returns</h4>
<p> a new list of <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a>, free list with <a href="gda-browser-browser-favorites.html#gda-tools-favorites-free-action"><code class="function">gda_tools_favorites_free_actions()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-tools-favorites-free-action"></a><h3>gda_tools_favorites_free_action ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_tools_favorites_free_action (<em class="parameter"><code><a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a> *action</code></em>);</pre>
<p>Frees <em class="parameter"><code>action</code></em>
</p>
<div class="refsect3">
<a name="gda-tools-favorites-free-action.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>action</p></td>
<td class="parameter_description"><p>a <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-tools-favorites-free-actions-list"></a><h3>gda_tools_favorites_free_actions_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_tools_favorites_free_actions_list (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *actions_list</code></em>);</pre>
<p>Free a list of <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a> (frees the list and each <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a>)</p>
<div class="refsect3">
<a name="gda-tools-favorites-free-actions-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>actions_list</p></td>
<td class="parameter_description"><p>a list of <a class="link" href="gda-browser-browser-favorites.html#ToolsFavoriteAction" title="ToolsFavoriteAction"><span class="type">ToolsFavoriteAction</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="gda-browser-browser-favorites.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ToolsFavoriteAction"></a><h3>ToolsFavoriteAction</h3>
<pre class="programlisting">typedef struct {
	gint                  id;
	gchar                *name;
	GdaStatement         *stmt;
	GdaSet               *params;
	gint                  nb_bound; /* number of GdaHolders in @params which are bound

					 * to another GdaHolder */
} ToolsFavoriteAction;
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>